package com.mall.pay.converter;

import com.mall.pay.dal.entitys.Payment;
import com.mall.pay.dto.PaymentDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/**
 * @author xudengfeng
 * @date 2020/12/21 21:05
 */

@Mapper(componentModel = "spring")
public interface PaymentConverter {
    PaymentDto payment2Dto(Payment payment);
}
